package com.regentsoft.cloudback.enterpriseAdmin.entity;

/**
 * Created by work on 2017/11/27.
 *
 * @author lumr
 */
public class CompanyAdminModel {
    private String code;//公司编号
    private String companyName;//公司名称
    private String userName;//登录的用户名
    private String userAccount;

    public CompanyAdminModel() {
    }

    public CompanyAdminModel(CompanyAdmin admin){
        code = admin.getCompanyId();
        companyName = admin.getCompanyName();
        userName = admin.getUserName();
        userAccount = admin.getUserAccount();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }



    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }
}
